feature: upgrade to Java 25 and Spring Boot 3.5.16#269
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
feature: upgrade to Java 25 and Spring Boot 3.5.16#269devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
- Bump spring-boot-starter-parent 3.3.3 -> 3.5.16 (certifies Java 25) - Set java.version 17 -> 25; remove invalid maven-compiler-plugin (source/target 1.8) - Replace deprecated mysql:mysql-connector-java with com.mysql:mysql-connector-j (parent-managed version) - Dockerfile: builder maven:3.9-eclipse-temurin-25, deployer eclipse-temurin:25-jre-alpine, MAINTAINER -> LABEL - Replace deprecated AntPathRequestMatcher with logoutUrl in SecurityConfig Co-Authored-By: Arjun Mishra <arjunsaxmishra@gmail.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the build/runtime from the mixed Java 8/17 setup to Java 25 on a Spring Boot version that certifies it. Verified end-to-end with
./mvnw clean installon Temurin 25 (compiles atrelease 25,contextLoadstest green against MySQL).pom.xmlspring-boot-starter-parent3.3.3→3.5.16(latest 3.5.x; Spring Boot 3.5 certifies Java 25).<java.version>17→25.maven-compiler-pluginblock that pinnedsource/target = 1.8(invalid for Spring Boot 3; the parent now manages the compiler plugin and honors<java.version>).mysql:mysql-connector-java@8.0.33with parent-managedcom.mysql:mysql-connector-j(driver alreadycom.mysql.cj.jdbc.Driver).Dockerfilemaven:3.8.3-openjdk-17→maven:3.9-eclipse-temurin-25.openjdk:17-alpine→eclipse-temurin:25-jre-alpine(theopenjdkimages are deprecated / have no Java 25 tags). Both tags verified present on Docker Hub.MAINTAINER→LABEL maintainer=....SecurityConfig.java— the only 3.3→3.5 code breakage:AntPathRequestMatcheris deprecated-for-removal in Spring Security 6.5.Equivalent here (CSRF is disabled, so both match any HTTP method on
/logout).No Java-version references needed changing in the Helm charts, k8s manifests, GitOps, or Jenkinsfile — CI just builds the Docker image, which now pulls the JDK 25 base images.
Link to Devin session: https://app.devin.ai/sessions/23dad71b0d5e4a49afe209f5d93a9234
Requested by: @Colhodm
Devin Review